package com.yugao.fintech.antelope.mps.api.model.content;

import com.alibaba.fastjson2.JSON;
import lombok.Getter;


@Getter
public class MsgContent extends BaseMsgContent {
    /**
     * 页面地址, 邮箱、短信等渠道用不到
     */
    private String pageUrl;

    @Override
    public MsgContent jsonToObj(String jsonStr) {
        return JSON.parseObject(jsonStr, MsgContent.class);
    }

    public MsgContent setPageUrl(String pageUrl) {
        this.pageUrl = pageUrl;
        return this;
    }
}
